<?php
class Style extends CoreTagWithLang {
	protected $type;
	protected $media;

	public function __construct() {
		parent::__construct("style");
		$this->type="";
		$this->media="";
		$this->attributeNames=array_merge($this->attributeNames,array('type','media'));
		$this->attributeValues=array_merge($this->attributeValues,array('',''));
	}

	public function setType($_type) {
		$this->type=(string)$_type;
		$this->setAttribute('type',$_type);
	}
	public function getType() {
		return $this->type;
	}
	public function setMedia($_media) {
		$this->media=(string)$_media;
		$this->setAttribute('media',$_media);
	}
	public function getMedia() {
		return $this->media;
	}

}
?>